.purchase-detail {
	border-top: 1px solid lighten( $gray, 30% );
	box-sizing: border-box;
	color: $gray;
	position: relative;

	&:last-child {
		border-bottom: none;
	}

	@include breakpoint( ">660px" ) {
		border: 1px solid lighten( $gray, 30% );
		border-radius: 3px;
		max-width: 700px;
		margin: 16px auto;
		text-align: left;

		&:last-child {
			border: 1px solid lighten( $gray, 30% );
		}

		.button:not(.clipboard-button) {
			width: auto;
		}
	}

	&.is-placeholder {
		.purchase-detail__button,
		.purchase-detail__description,
		.purchase-detail__title {
			@include placeholder( 23% );

			display: block;
		}

		.purchase-detail__button {
			border: none;
			width: 40%;
		}

		.purchase-detail__description {
			line-height: 2.5em;
			margin-top: 15px;
		}

		.purchase-detail__title {
			margin-top: 3px;
			width: 85%;

			@include breakpoint( "<660px" ) {
				margin: 0 auto;
			}
		}
	}
}

.purchase-detail__content {
	padding: 32px;

	@include breakpoint( ">660px" ) {
		padding-right: 140px;
	}
}

.purchase-detail__description {
	color: $gray-text-min;
	margin: 8px 0 16px 0;
}

.purchase-detail__icon {
	background: darken( $gray, 20% );
	border-radius: 50%;
	color: $white;
	margin: 0 auto 10px;
	padding: 16px;

	@include breakpoint( ">660px" ) {
		margin-top: -40px;
		position: absolute;
			right: 32px;
			top: 50%;
	}

	.purchase-detail__notice-icon.gridicon {
		fill: $alert-yellow;
		height: 24px;
		position: relative;
			right: -26px;
			top: -3px;
		width: 24px;

		@include breakpoint( ">660px" ) {
			position: relative;
				right: -42px;
				top: -6px;
		}
	}
}

.purchase-detail__icon,
.purchase-detail__icon .gridicon {
	height: 48px;
	width: 48px;

	@include breakpoint( "<660px" ) {
		height: 36px;
		width: 36px;
	}
}

.purchase-detail__required-notice {
	background-color: $alert-yellow;
	color: $white;
	font-size: 14px;
	padding: 8px;
	text-align: center;
}

.purchase-detail__title {
	clear: none;
	color: darken( $gray, 10% );
	font-size: 21px;
}

.purchase-detail__info {
	flex: 1;
	margin-left: 8px;
	margin-top: 8px;
	max-width: 260px;
	display: inline-block;

	@include breakpoint( ">660px" ) {
		margin-top: 0;
	}
}

.purchase-detail__info-icon-container {
	display: inline-block;
	margin-top: 2px;
	margin-right: 4px;
	float: left;
	height: 14px;
}

.purchase-detail__button {
	text-align: center;

	&:not(.clipboard-button) {
		width: 80%;
	}

	@include breakpoint( "<660px" ) {
		display: block;
		margin: 0 auto;
	}
}
